﻿namespace Arms.Persistence.Modules.Geography.Mappings
{
    using Arms.Domain.Modules.Geography;
    using System;

    internal class CountryMap : PointBaseMap<Country>
    {
        public CountryMap()
            : base()
        {
            HasMany(x => x.Provinces).WithRequired(x => x.Country).HasForeignKey(x => x.CountryID);
        }
    }
}
